//
//  MineHeadCell.m
//  TrainTree
//
//  Created by wanghui on 2017/9/9.
//  Copyright © 2017年 YouYeShu. All rights reserved.
//

#import "MineHeadCell.h"
@interface MineHeadCell()


@end
@implementation MineHeadCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.icon.layer.cornerRadius = 63 / 2;
    self.icon.layer.masksToBounds = YES;
//    self.userNameLabel.text = [Session shareSession].username;
//    self.companyNameLabel.text = [Session shareSession].branchName;

}

- (IBAction)messageBtnClick:(id)sender {

}
- (void)configWithImgUrl:(NSString *)imgUrl userName:(NSString *)userName companyName:(NSString *)companyName
{
    self.userNameLabel.text = userName;
    self.companyNameLabel.text = companyName;
    [self. icon sd_setImageWithURL:[NSURL URLWithString:imgUrl] placeholderImage:ImageNamed(@"ty_pic")];

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
